<script>
export default {
  created () {
    // 调用API从本地缓存中获取数据
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

  }
}
</script>

<style>
.noData,.loading{
   text-align: center;
   font-size: 12px;
   margin-bottom:5px;
}
.nav-ps{
  position: absolute;
  width: 100%;
  font-size: 20rpx;
  color: #ccc;
  line-height: 10rpx;
  bottom: 10rpx;
  text-align: center;
}
</style>
